
package com.sm.shoplook.service.suit;

import com.github.pagehelper.PageInfo;
import com.sm.shoplook.domain.suit.Suit;
import com.sm.shoplook.vo.base.ApiException;
import com.sm.shoplook.vo.base.ApiResult;
import com.sm.shoplook.vo.suit.back.req.SuitSearchReqVo;
import com.sm.shoplook.vo.suit.front.resp.SuitPageRespVo;

public interface SuitService {

	/**
	 * @Author chenpy
	 * @Date 2018/8/18 10:29
	 * @Description 套装列表
	 * @param suitSearchReqVo 参数对象
	 * @return
	 */
	ApiResult<PageInfo<SuitPageRespVo>> selectSuitListPage(SuitSearchReqVo suitSearchReqVo);

	/**
	 * @Author chenpy
	 * @Date 2018/8/18 11:27
	 * @Description 按ID查询
	 * @param id
	 * @return
	 */
	ApiResult<SuitPageRespVo> selectSuitById(Integer id);

	/**
	 * 批量删除
	 * @param ids
	 * @return
	 * @throws ApiException
	 */
	ApiResult<Integer> batchDelete(String[] ids) throws ApiException;

    /**
     * 套装审核
     * @param suit
     * @return
     */
    ApiResult<Integer> updateAuditSuit(Suit suit) throws ApiException;
}
